package com.hsgene.consumables.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 耗材申请信息
 *
 * @author wxf
 * @date 2018/8/20 11:03
 **/
public class ConsumablesApplyInfoDto implements Serializable {

    /**
     * 申请用户id
     */
    private String userId;

    /**
     * 创建时间
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date createTime;

    /**
     * 申请详情
     */
    private List<ConsumablesApplyDetailsInfoDto> applyDetailsInfoDtoList;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<ConsumablesApplyDetailsInfoDto> getApplyDetailsInfoDtoList() {
        return applyDetailsInfoDtoList;
    }

    public void setApplyDetailsInfoDtoList(List<ConsumablesApplyDetailsInfoDto> applyDetailsInfoDtoList) {
        this.applyDetailsInfoDtoList = applyDetailsInfoDtoList;
    }
}
